package is.ru.honn.rumblr.data;

import is.ru.honn.rumblr.domain.AbstractRumblrPost;
import is.ru.honn.rumblr.domain.RumblrPost;
import is.ruframework.data.RuDataAccess;

import java.util.Collection;


//Basic interface, see PostData to read the comments for each function
public interface PostDataGateway extends RuDataAccess
{
  public void addPost(AbstractRumblrPost post, String username);
  public Collection<RumblrPost> getPosts(String username);
}
